<template>
  <!-- checkStatus 0待核验、1核验通过、2核验未通过 -->
  <!-- clueType 0裕华区内企业1裕华区外企业2非中华人民共和国大陆地区企业3非法人单位 -->
  <div>
    <!-- 用户注册信息0待核验、2核验未通过  -->
    <failureInProgress v-if="companyInfo.checkStatus == 0 || companyInfo.checkStatus == 2"/>
    <!-- 用户核验通过并且注册类型2非中华人民共和国大陆地区企业3非法人单位 -->
    <IiiegalRegistration v-if="companyInfo.checkStatus == 1 && (companyInfo.clueType==3 || companyInfo.clueType==2)"/>
    <!-- 用户核验通过并且注册类型 0裕华区内企业1裕华区外企业-->
    <basicInformation v-if="companyInfo.checkStatus == 1 && (companyInfo.clueType == 1 || companyInfo.clueType == 0)"/>
  </div>
</template>
<script>
import basicInformation from '../basicInfo/basicInformation.vue'
import failureInProgress from '../basicInfo/failureInProgress.vue'
import IiiegalRegistration from '../basicInfo/IiiegalRegistration.vue'

import {mapState} from 'vuex'

export default {
  components: {
    basicInformation,
    failureInProgress,
    IiiegalRegistration
  },
  data(){
    return {
    }
  },
  computed: {
    ...mapState(['companyInfo']),
  }
}
</script>
